package com.go.where.family.service;

import java.util.List;
import java.util.Map;

import com.go.where.family.pojo.OrderInfo;

public interface OrderService {

	/**
	 * 分页查询订单信息
	 * 
	 * @param orderId
	 * @return
	 */
	public List<OrderInfo> queryList(Map<String, Object> map);

	/**
	 * 查询订单详情
	 * 
	 * @param videoId
	 * @return
	 */
	public OrderInfo queryOrderDetail(String orderId);

	/**
	 * 生成订单信息
	 * 
	 * @param videoInfo
	 * @return
	 */
	public int save(OrderInfo orderInfo);

	/**
	 * 更新订单状态
	 * 
	 * @param orderInfo
	 * @return
	 */
	public int update(OrderInfo orderInfo);
	
	public Integer sumPersonNum(Map<String, Object> map);

}
